package cn.sczc.jh.client.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

@TableName("t_role_permission_ref")
public class RolePermissionRef {
	@TableId(value = "id_")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	@TableField(value = "role_id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long roleId;
	@TableField(value = "permission_id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long permissionId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(Long permissionId) {
		this.permissionId = permissionId;
	}

}
